package net.kleinhenz.droidshop.model;

import java.io.Serializable;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;

public class Product implements Serializable
{
	private static final long serialVersionUID = 1L;

	private String name = null;
	private String type = null;
	private String asin = null;
	private String ean = null;
	private String author = null;
	private URL detailLink = null;
	private String description = null;
	private double stars = -1;
	private URL imageLink = null;
	private List<Review> reviews = new ArrayList<Review>();
	private List<Price> prices = new ArrayList<Price>();
	
	public String getName() 
	{
		return name;
	}
	
	public void setName(String name) 
	{
		this.name = name;
	}
	
	public String getType() 
	{
		return type;
	}
	
	public void setType(String type) 
	{
		this.type = type;
	}
	
	public String getAsin() {
		return asin;
	}
	
	public void setAsin(String asin) 
	{
		this.asin = asin;
	}
	
	public URL getDetailLink() 
	{
		return detailLink;
	}
	
	public void setDetailLink(URL detailLink) 
	{
		this.detailLink = detailLink;
	}
	
	public String getDescription() 
	{
		return description;
	}
	
	public void setDescription(String description) 
	{
		this.description = description;
	}
	
	public double getStars() 
	{
		return stars;
	}
	
	public void setStars(double stars) 
	{
		this.stars = stars;
	}
	
	public URL getImageLink() 
	{
		return imageLink;
	}
	
	public void setImageLink(URL imageLink) 
	{
		this.imageLink = imageLink;
	}
	
	public List<Review> getReviews() 
	{
		return reviews;
	}
	
	public void setReviews(List<Review> reviews) 
	{
		this.reviews = reviews;
	}
	
	public List<Price> getPrices() 
	{
		return prices;
	}

	public void setPrices(List<Price> prices) 
	{
		this.prices = prices;
	}

	public String getEan() 
	{
		return ean;
	}

	public void setEan(String ean) 
	{
		this.ean = ean;
	}

	public String getAuthor() 
	{
		return author;
	}

	public void setAuthor(String author) 
	{
		this.author = author;
	}
}
